package org.sabeot.enlistme.service;

import java.util.List;

import org.sabeot.enlistme.hibernate.dto.UserDTO;
import org.sabeot.enlistme.utils.exceptions.DatabaseException;


public interface UserService {
	public UserDTO findByUserId(Long id);
    public boolean createNewUser(String login, String email, boolean isActive) throws DatabaseException;
    public void deleteUser(Long id);
    public List<UserDTO> findUsers(String login);
    public List<UserDTO> getAllUsers();
}
